package com.xunce.xcworkservice.controller;

import com.xunce.xcworkservice.utils.HttpContextUtils;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

public class BaseController {

    @Autowired
    protected HttpServletRequest request;

    protected Map<String, Object> getParamMap() {
        return HttpContextUtils.getParamMap(request);
    }
}
